Skip to content

fix: match gelu with paper implementation #1421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

avik-pal
Copy link
Collaborator

@avik-pal avik-pal commented Jun 26, 2025

Existing tests already check the numerics

@avik-pal avik-pal force-pushed the ap/gelu_tanh_overload branch from 61ba67f to 1b4b912 Compare June 26, 2025 02:19
@avik-pal avik-pal requested a review from wsmoses June 26, 2025 03:18
@avik-pal avik-pal force-pushed the ap/gelu_tanh_overload branch from 9b9d53d to c1438d6 Compare July 9, 2025 00:27
@avik-pal avik-pal marked this pull request as draft July 9, 2025 00:27
@avik-pal
Copy link
Collaborator Author

avik-pal commented Jul 9, 2025

  • Expose the c-api in enzymexla for creating the approximation attributes
  • define derivative rules for gelu

@avik-pal avik-pal force-pushed the ap/gelu_tanh_overload branch from c1438d6 to 3a3d991 Compare July 9, 2025 02:16
@avik-pal avik-pal force-pushed the ap/gelu_tanh_overload branch from 3a3d991 to a839436 Compare July 9, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants